package cn._2dland.sakushi.client;

/**
 * 消息对象类
 * 
 * @author deadblue
 */
public class Mention {
	private String statusId;
	private String text;
	private String userId;
	private String userName;
	private String sourceId = null;

	public Mention() {}

	public Mention(String statusId, String text, String userId, String userName) {
		this.statusId = statusId;
		this.text = text;
		this.userId = userId;
		this.userName = userName;
	}

	public String getStatusId() {
		return statusId;
	}
	public String getText() {
		return text;
	}
	public String getUserId() {
		return userId;
	}
	public String getUserName() {
		return userName;
	}
	public String getSourceId() {
		return sourceId;
	}

	public void setStatusId(String statusId) {
		this.statusId = statusId;
	}
	public void setText(String text) {
		this.text = text;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String toString() {
		StringBuffer buf = new StringBuffer();
		buf.append(userName).append("(").append(userId).append("): ").append(text);
		return buf.toString();
	}
}
